!
function (o, e) {
    function t() {
        e(document).on("click", "#nav span", function (o) {
            o.preventDefault(), e(this).addClass("active").siblings().removeClass("active")
        }).on("click", "#appNav", function () {
            n.animate({
                scrollTop: 0
            }, 500)
        //}).on("click", "#formNav", function () {
        //    n.animate({
        //        scrollTop: f
        //    }, 500)
        }).on("click", "#featureNav", function () {
            n.animate({
                scrollTop: c
            }, 500)
        }).on("click", "#resultsNav", function () {
            n.animate({
                scrollTop: r
            }, 500)
        }).on("click", "#aboutusNav", function () {
            n.animate({
                scrollTop: p
            }, 500)
        }), /(micromessenger)/i.test(i) && /(iphone|ipad|ipod|ios)/i.test(i) ? e(document).on("click", "#appleApp", function (e) {
            e.preventDefault(), o.location = "http://mp.weixin.qq.com/mp/redirect?url=https://itunes.apple.com/us/app/tao-shi-jie/id905480305?l=zh&ls=1&mt=8"
        }) : /(micromessenger)/i.test(i) && /(android)/i.test(i) && e(document).on("click", "#androidApp", function (o) {
            o.preventDefault(), e("#androidWeixinTip").addClass("show")
        }).on("click", "#closedPopup", function () {
            e(this).parent().removeClass("show")
        })
    }
    var n = e("html, body"),
        i = (e("#logo"), navigator.userAgent.toLowerCase()),
        a = e("#app").get(0).offsetTop,
        s = e("#nav").height(),
        //f = e("#sub_form").get(0).offsetTop - s,
        /*c = e("#feature").get(0).offsetTop - s,
        r = e("#results").get(0).offsetTop - s,*/
        p = e("#aboutus").get(0).offsetTop - s;
    e(o).resize(function () {
        console.info(a, c, r, p),
        a = e("#app").get(0).offsetTop,
        //f = e("#sub_form").get(0).offsetTop - s,
        /*c = e("#feature").get(0).offsetTop - s,
        r = e("#results").get(0).offsetTop - s,*/
        p = e("#aboutus").get(0).offsetTop - s
    }), t()
}(window, jQuery);
$.noConflict()
jQuery('.zy-Slide').zySlide({ speed: 500 })
.css('border', '0px solid blue')